/*
* 个人中心
*/

export default[
	{
		path:'/personal',
		name:'personal',
		component: resolve => require(['@/pages/personal/Index.vue'],resolve),
		meta:{
			title:'个人中心'
		}
	},

	{
		path:'/personal/collect',
		component: resolve => require(['@/pages/personal/Collect.vue'],resolve),
		meta:{
			title:'我的收藏'
		}
	},

	{
		path:'/personal/footprint',
		component: resolve => require(['@/pages/personal/Footprint.vue'],resolve),
		meta:{
			title:'我的足迹'
		}
	},
	{
		path:'/personal/interest',
		component: resolve => require(['@/pages/personal/Interest.vue'],resolve),
		meta:{
			title:'我的兴趣'
		}
	},

	// 设置
	{
		path:'/personal/set',
		component: resolve => require(['@/pages/personal/set/Index.vue'],resolve),
		meta:{
			title:'设置'
		}
	},
	{
		path:'/personal/set/about',
		component: resolve => require(['@/pages/personal/set/About.vue'],resolve),
		meta:{
			title:'关于我们'
		}
	},



	// 资料
	{
		path:'/personal/information',
		component: resolve => require(['@/pages/personal/information/Index.vue'],resolve),
		meta:{
			title:'修改资料'
		}
	},
	{
		path:'/personal/information/feedback',
		component: resolve => require(['@/pages/personal/information/Feedback.vue'],resolve),
		meta:{
			title:'意见反馈'
		}
	},

	// 订单
	{
		path:'/personal/order',
		component: resolve => require(['@/pages/personal/order/Index.vue'],resolve),
		meta:{
			title:'我的订单'
		}
	},
	{
		path:'/personal/order/after-sale',
		component: resolve => require(['@/pages/personal/order/After-sale.vue'],resolve),
		meta:{
			title:'售后'
		}
	},
	{
		path:'/personal/order/after-detail',
		component: resolve => require(['@/pages/personal/order/After-detail.vue'],resolve),
		meta:{
			title:'售后'
		}
	},
	{
		path:'/personal/order/detail',
		component: resolve => require(['@/pages/personal/order/Detail.vue'],resolve),
		meta:{
			title:'订单详情'
		}
	},
	{
		path:'/personal/order/express',
		component: resolve => require(['@/pages/personal/order/Express.vue'],resolve),
		meta:{
			title:'查看物流'
		}
	},
	{
		path:'/personal/order/exchange',
		component: resolve => require(['@/pages/personal/order/Exchange.vue'],resolve),
		meta:{
			title:'申请售后'
		}
	},

	// 优惠券
	{
		path:'/personal/coupon',
		component: resolve => require(['@/pages/personal/coupon/Index.vue'],resolve),
		meta:{
			title:'优惠券'
		}
	},
	{
		path:'/personal/coupon/integral',
		component: resolve => require(['@/pages/personal/coupon/Integral.vue'],resolve),
		meta:{
			title:'积分'
		}
	},
	{
		path:'/personal/coupon/bill',
		component: resolve => require(['@/pages/personal/coupon/Bill.vue'],resolve),
		meta:{
			title:'账单'
		}
	},
	{
		path:'/personal/coupon/conversion',
		component: resolve => require(['@/pages/personal/coupon/Conversion.vue'],resolve),
		meta:{
			title:'积分兑换'
		}
	},

	// 收货地址
	{
		path:'/personal/address',
		component: resolve => require(['@/pages/personal/address/Index.vue'],resolve),
		meta:{
			title:'地址管理'
		}
	},
	{
		path:'/personal/address/address',
		component: resolve => require(['@/pages/personal/address/Address.vue'],resolve),
		meta:{
			title:'地址'
		}
	},
	// 消息中心
	{
		path:'/personal/news',
		component: resolve => require(['@/pages/personal/news/Index.vue'],resolve),
		meta:{
			title:'消息中心'
		}
	},
	{
		path:'/personal/news/system',
		component: resolve => require(['@/pages/personal/news/System.vue'],resolve),
		meta:{
			title:'系统消息'
		}
	},
	{
		path:'/personal/news/order-msg',
		component: resolve => require(['@/pages/personal/news/Order-msg.vue'],resolve),
		meta:{
			title:'订单消息'
		}
	},

	//发票
	{
		path:'/personal/invoice',
		component: resolve => require(['@/pages/personal/invoice/Index.vue'],resolve),
		meta:{
			title:'发票管理'
		}
	},
	{
		path:'/personal/invoice/detail',
		component: resolve => require(['@/pages/personal/invoice/Detail.vue'],resolve),
		meta:{
			title:'发票'
		}
	},
]